This library is still in development and is available only for internal usage at VTEX.
Skip to main content

Listing page

Code

Version: 0.136.0

Code

Basic

import ListingPage from './ListingPage'
import { ToastProvider } from '@vtex/admin-ui'
import { I18nProvider } from '@react-aria/i18n'

export default function App() {
  return (
    <I18nProvider locale="en-US">
      <ToastProvider>
        <ListingPage />
      </ToastProvider>
    </I18nProvider>
  )
}

Full blown example

import ListingPage from './ListingPage'
import { ToastProvider } from '@vtex/admin-ui'
import { I18nProvider } from '@react-aria/i18n'

export default function App() {
  return (
    <I18nProvider locale="en-US">
      <ToastProvider>
        <ListingPage />
      </ToastProvider>
    </I18nProvider>
  )
}